#include "stdafx.h"

extern "C" BOOL core200_CryptDecrypt( 
	HCRYPTKEY hKey,
	HCRYPTHASH hHash, 
	BOOL Final, 
	DWORD dwFlags, 
	BYTE *pbData,
	DWORD *pdwDataLen )
{
	OutputDebugString(_T("CryptDecrypt (not supported) !!!\n"));
	SetLastError( ERROR_NOT_SUPPORTED );
	return false;
}

extern "C" BOOL core200_CryptDestroyHash( HCRYPTHASH hHash )
{
	OutputDebugString(_T("CryptDestroyHash (not supported) !!!\n")); 
	SetLastError( ERROR_NOT_SUPPORTED );
	return false;
}

extern "C" BOOL core200_CryptDestroyKey( HCRYPTKEY hKey )
{
	OutputDebugString(_T("CryptDestroyKey (not supported) !!!\n")); 
	SetLastError( ERROR_NOT_SUPPORTED );
	return false;
}

extern "C" BOOL core200_CryptEncrypt( 
	HCRYPTKEY hKey,
	HCRYPTHASH hHash, 
	BOOL Final, 
	DWORD dwFlags, 
	BYTE *pbData,
	DWORD *pdwDataLen, 
	DWORD dwBufLen )
{
	OutputDebugString(_T("CryptEncrypt (not supported) !!!\n")); 
	SetLastError( ERROR_NOT_SUPPORTED );
	return false;
}

extern "C" BOOL core200_CryptGenRandom( 
	HCRYPTPROV hProv,
	DWORD dwLen, 
	BYTE *pbBuffer )
{
	OutputDebugString(_T("CrptGenRandom (not supported) !!!\n")); 
	SetLastError( ERROR_NOT_SUPPORTED );
	return false;
}

extern "C" BOOL core200_CryptGetHashParam( 
	HCRYPTHASH hHash,
	DWORD dwParam, 
	BYTE *pbData, 
	DWORD *pdwDataLen, 
	DWORD dwFlags )
{
	OutputDebugString(_T("CryptGethashParam (not supported) !!!\n")); 
	SetLastError( ERROR_NOT_SUPPORTED );
	return false;
}

#if _WIN32_WCE==200
extern "C" int core200_ShowCursor( BOOL bShow )
{
	OutputDebugString(_T("ShowCursor (not supported) !!!\n")); 
	SetLastError( ERROR_NOT_SUPPORTED );
	return -1;
}

extern "C" BOOL core200_GetCursorPos( LPPOINT lpPoint )
{
	OutputDebugString(_T("GetCursorPos (not supported) !!!\n")); 
	SetLastError( ERROR_NOT_SUPPORTED );
	return false;
}

extern "C" wchar_t * core200__getws( wchar_t *buffer )
{
	OutputDebugString(_T("_getws (not supported) !!!\n"));
	SetLastError( ERROR_NOT_SUPPORTED );
	return NULL;
}

extern "C" HMODULE core200_GetModuleHandleW( LPCWSTR lpModuleName )
{ 
	OutputDebugString(_T("GetModuleHandleW (not supported) !!! ")); 
	OutputDebugString(lpModuleName); 
	OutputDebugString(_T("\n")); 

	SetLastError( ERROR_NOT_SUPPORTED );
	return NULL;
}
#endif // _WIN32_WCE==200
